package com.zxy.ziems.server.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @DATE 2021/3/11
 */
@Data
public class DeptTreeNode {

    private String id;

    private String name;

    private Integer sortNo;

    private List<DeptTreeNode> children = new ArrayList<>();

    public DeptTreeNode(String id, String name,Integer sortNo) {
        this.id = id;
        this.name = name;
        this.sortNo = sortNo;
    }
}
